home *** CD-ROM | disk | FTP | other *** search
/ Champak 54 / Vol 54.iso / games / turttleo.swf / scripts / DefineSprite_328_FullscreenButton / frame_1 / DoAction.as
Encoding:
Text File  |  2007-10-01  |  391 b   |  29 lines

  1. function Show()
  2. {
  3. }
  4. function Hide()
  5. {
  6.    status = 2;
  7. }
  8. onPress = function()
  9. {
  10.    var _loc1_ = 0;
  11. };
  12. var status;
  13. var mc;
  14. onEnterFrame = function()
  15. {
  16.    switch(status)
  17.    {
  18.       case 0:
  19.          gotoAndStop(_currentframe + 1);
  20.          break;
  21.       case 1:
  22.          break;
  23.       case 2:
  24.          gotoAndStop(_currentframe - 1);
  25.    }
  26. };
  27. status = 0;
  28. gotoAndStop(2);
  29.